<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="./../../html/res/css/style.css" />
<title>WBD 网络小说下载</title>
<meta name="description" content="网络小说下载">
<meta name="keyword" content="网络小说下载工具">
<script type="text/javascript" src="./../../html/res/js/jquery-1.8.3.min.js"></script>
</head>
<body>
<div id="topbj">
<!-- $headnav$ -->
<div id="zhuce">
	<div class="zcelist"><b class="bzce">欢迎登录</b>    </div>
    <div id="div_errormsg" class="zcelist0 hide"><b class="bzce"><span id="errormsg" style="color:#f00;"></span></b></div>
    <form class="form-login" action="api2016.php?c=guest&a=login_new" method="post" id="login_form" onsubmit="send_form_in('login_form');return false;void(0);">
    <div class="zcekk">
    		<ul>            
            	<li class="zcekkb"><span class="denglusp">手机号码：</span>
                    <input  id="email" name="email" value="手机号码" onFocus="if(value=='手机号码'){value=''}" onblur="if(value=='') {value='手机号码'}"   type="text" class="zcekksr2">
                </li>
                <li class="zcekkb ui_pw"><span class="denglusp">密　码：</span>
                    <input id="password" name="pswd" value="密码" onFocus="if(value=='密码'){value=''}" onblur="if(value=='') {value='密码'}" type="password" class="zcekksr2">
                </li>
                <li class="denglubj"><span class="denglusp denglubj1">数字码：</span>
                    <span class="denglusp1"><input type="text" id="validate" name="validate" value="" size=10 class="denglukk"> </span>
                    <img width="102" height="47" class="left cp-hand" title="点击刷新" src="./php/lib/captcha/captcha.php" align="absbottom" onclick="this.src='php/lib/captcha/captcha.php?'+Math.random();"></img>
                </li>
                <li class="zceyh">
                    <a href="#"><img src="./../../html/res/images/zuc6_13.jpg" width="14" height="14" class="zcekkimg2"/></a>记住信息
                    <span><a href="index.php?a=zhuce&op=reset" class="dluwj">忘记密码？</a></span>
                </li>
                <li class="zcekkb1">
                <a href="javascript:login();void(0);" id="submitbtn" class="zcesa1">登录</a>
                </li>
            </ul>        
    </div>
    </form>
    <div class="dengludb">
    	<span class="dengludbs">还没有账户</span>
        <span><a href="index.php?a=zhuce" class="dengludbsa">免费注册</a></span>
    </div>
</div>

<!-- $foot$ -->

<script type="text/javascript" src="./../../html/res/app.js?v=[var.out.js_css_ver;noerr]"></script>
<script>
'use strict';
$(document).ready(function() { 

    $("submitbtn").click(function(){
      login();
    });

    $("#email").val('local_dev');
    $("#password").val('local_dev');

}); 


function login() {
    var name = $("#email").val();
    var pwd = $("#password").val();
    var vv = $("#validate").val();
    var savename = $("#save_name").val();

    if (name.length<1) {
        errMsg('账号不能为空！', '5600');
        return;
    } else if (pwd.length<1) {
        errMsg('密码不能为空！', '5600');
        return;
    }else if (vv.length<1) {
        errMsg('验证码不能为空！', '5600');
        return;
    }
    var url=location.href;
    if(url.indexOf("&debug=1")!=-1){
        $('#login_form').attr('action',$('#login_form').attr('action')+'&debug=1');
    }
    send_form_in('login_form');
    return;
}

</script>
</body>
</html>
